package com.thc.mapper;

import com.thc.domin.Order;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {

    @Insert("insert into t_order(id, orderSn, username, movie_name, num, total_price) " +
            "VALUES (#{id},#{ordersn},#{username},#{moviename},#{num},#{totalprice})")
    void add(Order order);
}
